import Main from '../../views/main.vue'

export default {
    path:'/radar',
    component: Main,
    redirect:'/radar/dormitory',
    meta:{
        title:'雷达预警',
    },
    children:[
        {
            path:'/radar/dormitory',
            component: () => import('../../views/radar/dormitory.vue'),
            meta: {
                title: '宿舍预警',
                icon: 'PictureFilled'
            },
        },{
            path:'/radar/toilet',
            component: () => import('../../views/radar/toilet.vue'),
            meta: {
                title: '厕所预警',
                icon: 'PictureFilled'
            },
        },{
            path:'/radar/panorama',
            redirect:'/radar/panorama/buildingOne',
            // component: () => import('../../views/radar/panorama.vue'),
            meta: {
                title: '宿舍全景',
                icon: 'PictureFilled'
            },
            children:[{
                path:'/radar/panorama/buildingOne',
                redirect:'/radar/panorama/buildingOne/TWO',
                meta: {
                    title: '一号楼',
                    icon: 'PictureFilled'
                },
                children:[{
                    path:'/radar/panorama/buildingOne/TWO',
                    component: () => import('../../views/radar/panorama/one.vue'),
                    meta: {
                        title: '二层',
                        icon: 'PictureFilled'
                    },
                },{
                    path:'/radar/panorama/buildingOne/THREE',
                    component: () => import('../../views/radar/panorama/two.vue'),
                    meta: {
                        title: '三层',
                        icon: 'PictureFilled'
                    },
                }]
            }]
        },{
            path:'/radar/attractInvestment',
            component: () => import('../../views/radar/attractInvestment.vue'),
            meta: {
                title: '招商部全景',
                icon: 'PictureFilled'
            },
        },
        {
            path:'/radar/earlyWarning',
            component: () => import('../../views/radar/earlyWarning.vue'),
            meta: {
                title: '预警配置',
                icon: 'PictureFilled'
            },
        },
        {
            path:'/radar/equipmentManagement',
            component: () => import('../../views/radar/equipmentManagement.vue'),
            meta: {
                title: '设备管理',
                icon: 'PictureFilled'
            },
        }
    ]
}
